home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group03a.txt / 000004_icon-group-sender_Tue Feb 4 12:55:29 2003.msg < prev    next >
Internet Message Format  |  2003-12-22  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id h14JrQO23165
  4.     for icon-group-addresses; Tue, 4 Feb 2003 12:53:26 -0700 (MST)
  5. Message-Id: <200302041953.h14JrQO23165@baskerville.CS.Arizona.EDU>
  6. From: "Frank J. Lhota" <NOSPAM.lhota.adarose@verizon.net>
  7. X-Newsgroups: comp.lang.icon
  8. Subject: Time to replace wincap?
  9. X-Priority: 3
  10. X-MSMail-Priority: Normal
  11. X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
  12. X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
  13. Date: Tue, 04 Feb 2003 19:44:33 GMT
  14. X-Complaints-To: abuse@verizon.net
  15. To: icon-group@cs.arizona.edu
  16. Errors-To: icon-group-errors@cs.arizona.edu
  17. Status: RO
  18.  
  19. On the Unicon list, there has been a discussion of the use of the wincap
  20. package. This package, available as a download from Microsoft, is used to
  21. read / write bitmap files for the MS Windows implementations of the Icon
  22. runtime. This started with the question as to whether there was any
  23. copyright problem with wincap.
  24.  
  25. I worked with the wincap code while porting Icon to Cygwin, and this work
  26. exposed another reason to replace wincap. Wincap was written in 1991 for Win
  27. 3.x, and it now contains many anachronisms.
  28.  
  29. -    The wincap file I/O uses the pre-handle file API.
  30. -    They include routines for reading / writing data in blocks larger than
  31. 0xFFFF, a problem that does not exist with the Win32 API.
  32. -    The DIB handles are actually based on Win16 memory handles, a feature
  33. that has been seriously depreciated in Win32.
  34.  
  35. Out of curiosity, I tried building the full wincap application with MSVC++
  36. 6.0, and failed! Apparently, the makefile that MS wrote for wincap includes
  37. command line switches that are no longer supported.
  38.  
  39. A search for a more up-to-date replacement for wincap would therefore be
  40. worthwhile, copyright issues aside.
  41.  
  42.  
  43.